import {getSysDictList} from "@/api/system/dict";

export default {
  data() {
    return {
      platformList: [],
      osList: [],
    }
  },
  created() {
    this.getSysDictList()
  },
  methods: {
    // 获取字典（媒体，系统）
    async getSysDictList() {
      const {platforms, app_os} = await getSysDictList('platforms,app_os')
      this.platformList = platforms
      this.osList = app_os
    },
  }
}
